.layout-main {
  width: 100%;
  height: 100%;
  background: #f3f5f7;

  display: flex;
  flex-direction: column;

  .layout-main-bread {
    line-height: 40px;
    height: 40px;
    background: #fff;
    padding: 0 24px;
    color: #4d596c;
    box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.05);
    z-index: 999;
    position: fixed;
    width: 100%;
  }

  .layout-main-content {
    height: 100%;
    overflow: auto;
    padding: 16px;

    .main {
      background: #fff;
      border-radius: 8px;
      flex: 1;
      overflow: auto;
      -ms-overflow-style: none;
      overflow: -moz-hidden-unscrollable;
      position: relative;
      height: fit-content;
      min-height: calc(100% - 48px);
      padding: 16px;
      &::-webkit-scrollbar {
        width: 0 !important;
      }
    }

  }

  .layout-main-footerOpera {
    height: 56px;
    background: #fff;
    box-shadow: 0px -1px 4px 0px rgba(0, 21, 41, 0.12);
    flex: none;
    z-index: 999;
  }
}
// base
.ydc-app-layout-content-wrapper {
  padding-bottom: 0 !important;

  .ydc-app-layout-content {
    .hasTitleMain{
      padding-top: 32px ;
    }
  }

  .ydc-app-layout-content:not(.no-padding) {
    margin: -16px;
    padding: 0 !important;
    .hasTitleMain{
      padding-top: 64px;
    }
  }
}
/********************************************************************
                        需要表头固钉效果的，加此类名
*********************************************************************/
.table-sticky{
  // position：sticky 直系父级不能有 overflow：auto|hidden
  .layout-main-content {
    overflow: visible;
    .main {
      overflow: visible;
    }
  }
  .ant-table-sticky-scroll{
    display: none;
  }
}

/********************************************************************
                        审批页面样式调整
*********************************************************************/
// 自动转正审批: auto-page-approval
.auto_page_approval_noNav{
  overflow: hidden;
  .layout-main-content{
    overflow: hidden;
    padding: 0px !important;
  }
  .auto_page_detail_wrap{
    overflow: hidden !important;
  }
  .auto_page_approval{
    margin: 0px !important;
    padding: 16 24px !important;
  }
  .staff_info_table,.amendant_record{
    width: 100%;
    overflow:auto;
  }
  .ant-radio-inner{
    width: 14px;
    height: 14px;
  }
}
// 转正审批: employee-regular-approval
.employee-regular-approval-noNav{
  .layout-main-content{
    padding: 16px 24px !important;
  }
  .employee_regular_approval_page{
    padding: 0px !important;
  }
}
// 合同续签审批: contract-renew-approve?
.contract-renew-approve-noNav{
  overflow: hidden;
  .layout-main-content{
    overflow: hidden;
    padding: 0px!important;
  }
  .contract-renew-approve--page{
    margin: 0px !important;
    padding: 16px 24px !important;
  }
}
// 实习生审批：intern-approval
.intern-approval-noNav{
  overflow: hidden;
  .layout-main-content{
    overflow: hidden;
    padding: 0px !important;
  }
  .intern_fromal_info{
    margin: 0px !important;
    padding: 16px 24px !important;
  }
}
// 异动审批：employee-regular-approval
.employee-change-detail-mobile-noNav{
  .layout-main-content{
    padding: 0px !important;
  }
  .main {
    >div{
      padding: 0px 8px 16px 8px;
    }
  }
}

/********************************************************************
                        去除公共样式后微调
*********************************************************************/
// margin
.employee-details{
  margin-top: 24px;
}
.resign-flow-finish{
  margin-bottom: -16px !important;
}
.employee_regular_detail_page,
.employee-change-manage{
  margin-top: 42px;
  margin-bottom: -16px;
}
.resign-audit-detail-page{
  margin: 42px 0px -16px 0px;
}
.employee-on-job-detail{
  margin: 42px 0px 0px !important;
}
.intern_fromal_info_01,.intern_fromal_info_02{
  margin: 42px 0px -16px 0px !important;
}
.resign-detail-page{
  margin: 42px 0px -16px 0px !important;
}
.resign-flow-hr-resign{
  margin: 42px 0px -16px 0px !important;
}
.update-bless-rule{
  margin: 42px 0px 0px 0px !important;
}
.contract_renew_page,
.contract-sign-page{
  margin: 42px 0px -16px 0px !important;
}
.resign-flow{
  margin: 40px 0px !important;
  min-height: calc(100% - 200px) !important;
}
.contract-renew-approve--page{
  margin: 42px 0px -16px 0px !important;
  min-height: 100% !important;
}
.contract-detail-page{
  margin: 42px 0px -16px 0px !important;
  min-height: calc(100% - 26px) !important;
}
.add-contract,
.configFlow{
  margin: 42px 0px -16px 0px !important;
  padding-top: 16px !important;
}
.employee-report{
  margin: 26px 0px -16px 0px !important;
  .content-box{
    margin-bottom: 0px !important;
  }
}

// padding
.intern_management{
  padding: 16px 24px !important;
}
.resign-page{
  padding: 16px 24px !important;
}
.contract-page{
  padding: 16px 24px !important;
}
.ydc-hr-container,
.auth-config-page {
  padding: 16px 24px !important;
}
.staff-manage-layout .main{
  padding: 16px 24px !important;
}
.employee-regular{
  padding: 16px 24px !important;
  min-height: 100% !important;
}
.employee-change-list{
  padding: 16px 24px !important;
  min-height: 100% !important;
}
.employee-care, 
.contract-list, 
.work-flow-list{
  padding: 16px 24px !important;
  min-height: 100% !important;
}
.organizational-structure,
.position-management{
  padding: 16px 24px !important;
  min-height: 100% !important;
}
.employee-entry{
  padding: 16px 24px !important;
  .f2ec-ydc-button button{
    margin-left: 16px !important;
  }
}

// 其他
.employee-onjob-manage .ant-table-sticky-scroll{
  display: none !important;
}
.resigned-employee-detail{
  margin: 42px 0px -16px 0px !important;
  padding-top: 0px !important;
  background: #f3f5f7 !important;
  >div{
    margin-top: 0px;
  }
}
.employee-change-detail{
  margin: 42px 0px -16px 0px !important;
  padding-top: 0px;
  min-height: calc(100% - 26px) !important;
}